
<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$bar="採点者介入のテストリスト";
        echo '<table border=1 align=center width=700px>';
        echo '<tr><td colspan=7 align=center class=bar>'.$bar.'</td></tr>';

        echo '
            <th>回答の番号</th>
            <th>回答者</th>
              <th>回答</th>
              <th>テスト</th>
              <th>介入</th> 
              
        ';
        //for($j=0;$j<$i;$j++)
        //{
        foreach($query->result() as $row){
            //$images='<img src="'.base_url().'application/templates/images/'.$row->staff_avarta.'" width=100 height=70>';
            //$details = anchor("user/loadUpdateForm/$row->Staff_ID",$images);
            echo "<tr>
                        <td>$row->id_question</td>
                        <td>$row->id_te</td>
                        <td >$row->sub_an</td>
                        <td >$row->test_id</td>";
                $titlebymaker = '<img src ="'.base_url().'public/frontend/images/edit.gif" width=20 height=15 />';
                $test_by_maker=$row->id_question.":".$row->id_te.":".$row->test_id;
                $bymaker = anchor("maker/mark_by_maker/$test_by_maker",$titlebymaker);
                echo "<td align=\"center\">$bymaker</td></tr>";
            }
        //}
        echo '</table>';
?>
